<?php 
class commentViewAction extends AdminMaster{
	public function execute($request){
		
		$this->data['comment'] = ProductComments::getDataByIdAdmin($this->data['id']);
		$this->data['product'] = Products::getByIdForDisplay($this->data['comment']['product_id']);
		ProductCommentsTable::viewed($this->data['id']);
		
		$this->setVar('data', $this->data);
		
	}
}